/**
 * CourseCollectTabEntity.java
 * com.sftz.assets.entities
 * Copyright (c) 2018, 北京科技有限公司版权所有.
*/

package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import com.uxuexi.core.common.util.DateTimeUtil;

/**
 * @author   闫志彬
 * @Date	 2018年12月17日 	 
 */
@Data
@Table("course_collect_tab")
public class CourseCollectTabEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("收藏id（课程id作品id）")
	private Integer collecId;

	@Column
	@Comment("收藏状态")
	private Integer collecState;

	@Column
	@Comment("收藏类型（课程，作品）")
	private Integer collecType;

	@Column
	@Comment("收藏者id")
	private Integer createById;

	@Column
	@Comment("收藏时间")
	private Date collecTime = DateTimeUtil.nowDate();
}